package com.example.zhuma.entity;

public class Msg {
    private String content;
    private long date;
    private int type;
    public static final int SYSTEM_MSG = 0; //系统消息
    public static final int RECEIVE_MSG = 1; //收到消息
    public static final int SEND_MSG = 2; //发送消息
    public Msg(String content, long date ,int type)
    {
        this.content = content;
        this.date = date;
        this.type = type;
    }

    public Long getDate() {
        return date;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setDate(Long date) {
        this.date = date;
    }

    public void setType(int type){
        this.type = type;
    }

    public int getType() {
        return type;
    }
}
